rails configuration fix

jamesperet 9 years ago
parent
commit
ea087984d9
2 changed files with 1 additions and 1 deletions
  1. 1 0
      config/application.rb
  2. 0 1
      config/environments/production.rb

+ 1 - 0
config/application.rb

@@ -19,5 +19,6 @@ module RailsWebsiteTemplate
19 19
     # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
20 20
     # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
21 21
     # config.i18n.default_locale = :de
22
+    config.assets.initialize_on_precompile = false
22 23
   end
23 24
 end

+ 0 - 1
config/environments/production.rb

@@ -28,7 +28,6 @@ RailsWebsiteTemplate::Application.configure do
28 28
 
29 29
   # Do not fallback to assets pipeline if a precompiled asset is missed.
30 30
   config.assets.compile = false
31
-  config.assets.initialize_on_precompile = false
32 31
 
33 32
   # Generate digests for assets URLs.
34 33
   config.assets.digest = true